package com.lin.bootstudy.mapper;

import com.lin.bootstudy.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    User selectByName(@Param("name") String name);

    List<User> selectByCondition(User user);

    boolean updateById(User user);
}
